package com.example.jobback.req.common.password;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

/**
 * @ClassName: RecoverPasswordReq
 * @Description:
 * @Author: lhb
 * @Date: 2025/7/25
 */
@Data
@Schema(title = "找回密码请求体")
public class RecoverPasswordReq {
    @Schema(title = "用户名")
    @NotBlank(message = "用户名不为空")
    private String name;

    @Schema(title = "手机号")
    @NotBlank(message = "手机号不为空")
    private String phone;

    @Schema(title = "新设置的密码")
    @NotBlank(message = "密码不为空")
    private String newPassword;
}
